package com.yuanian.timingwheel.model.timingwheel.bucket;

import com.yuanian.timingwheel.model.task.base.BaseTask;
/**
 * 时间轮上的槽
 */
public interface Bucket {

    void push(BaseTask e);

    void deletedTaskId(Long taskId);

    void suspendTaskId(Long taskId);

    void consumeTaskId(Long taskId);

    boolean isCompleted();

    boolean executeTask();

}
